<div class="floatwrapper">

    <div class="silk-core-left">
	<div class="inner">
	    <div class="silk-core-field">
		<dl>
		    <dt><label i18n:translate="string:Page Name"/></dt>
		    <dd><input type="text" name="object[name]" class="silk-slug-from" tal:attributes="value php:page.name"/></dd>
		</dl>
	    </div>

	    <div class="silk-core-field">
		<dl>
		    <dt><label i18n:translate="string:Page Slug"/></dt>
		    <dd><input type="text" name="object[slug]" class="silk-slug-to" tal:attributes="value php:page.slug"/></dd>
		</dl>
	    </div>

	    <div class="silk-core-field">
		<dl>
		    <dt><label i18n:translate="string:Page Layout"/></dt>
		    <dd>
			<select name="object[meta][Layout]" style="min-width: 100px;">
			    <option/>
			    <option tal:repeat="layout php:this.getObjects(array(), 'layout', 'name')" tal:attributes="value layout/object_id;selected php:this.selected(layout.object_id, page.getMetaValue('Layout'))" tal:content="layout/name|default"/>
			</select>
		    </dd>
		</dl>
	    </div>

	    <div class="silk-core-field">
		<dl>
		    <dt><label i18n:translate="string:Parent Page"/></dt>
		    <dd>
			<select name="object[parent_id]" style="min-width: 100px;">
			    <option/>
			    <tal:block  tal:repeat="ppage php:this.getObjects(array(), 'page', 'name')">
				<option tal:condition="php:ppage.object_id != page.object_id" tal:attributes="value ppage/object_id;selected php:this.selected(ppage.object_id, page.parent_id)" tal:content="php:ppage.name"/>
			    </tal:block>
			</select>
		    </dd>
		</dl>
	    </div>

	    <div class="silk-core-field">
		<dl>
		    <dt><label i18n:translate="string:Page Route"/></dt>
		    <dd><input type="text" name="object[route]" tal:attributes="value php:page.route"/></dd>
		</dl>
	    </div>

	    <div class="silk-core-field half lfloat">
		<input type="checkbox" name="object[meta][Cached]" id="page_meta_cached" tal:attributes="checked php:this.checked(page.getMetaValue('Cached'))"/>
		<label for="page_meta_cached" i18n:translate="string:Cached"/>
	    </div>
	</div>
    </div>

    <div class="silk-core-right">
	<div class="inner">
	    <div class="silk-core-field wide lalign">
		<label i18n:translate="string:Page Content"/><br/>
		<textarea class="full ide html" id="page_content" name="object[content]" tal:content="php:page.content"></textarea>
	    </div>
	</div>
    </div>
</div>